package cn.sq.musicserver.config.shiro.token;

import org.apache.shiro.authc.AuthenticationToken;

/**
 *
 */
public class SqAuthenticationToken implements AuthenticationToken {


    // 密钥
    private String token;

    public SqAuthenticationToken( String token) {
        this.token = token;
    }

    @Override
    public Object getPrincipal() {
        return token;
    }

    @Override
    public Object getCredentials() {
        return token;
    }


}
